﻿using System;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace ImageLib
{
    public class ImageItemCollection : ObservableCollection<ImageItem>, INotifyPropertyChanged, ICloneable
    {

        public object Clone()
        {
            ImageItemCollection collection = new ImageItemCollection();
            foreach (ImageItem item in this) {
                collection.Add(item.Clone() as ImageItem);
            }
            return collection;
        }
    }
}
